<!-- js 파일 import -->
<!--%import("js/webmini.js")-->
<!--%import("js/xe_official.js")-->

<!-- 레이아웃과 연동될 css 파일 import -->
<!--%import("css/default.css")-->

<!--@if($layout_info->background_image)-->
<style type="text/css">
    body {  background:#FFFFFF url({getUrl()}{$layout_info->background_image}) repeat-x left top; }
</style>
<!--@end-->

<!--@if(!$layout_info->colorset)-->
    {@$layout_info->colorset = "default"}
<!--@end-->
<div id="bodyWrap">
    <div id="header">
        <h1><!--@if($layout_info->logo_image)--><a href="{$layout_info->index_url}"><img src="{$layout_info->logo_image}" alt="logo" border="0" class="iePngFix" /></a><!--@else-->&nbsp;<!--@end--></h1>

		<div id="mini_gnb">
			<ul>
				<!--@if($logged_info)-->
				<li><strong>{$logged_info->nick_name}</strong>님 반갑습니다.</li>
				<li><a href="{getUrl('act','dispMemberLogout')}"><img src="./images/{$layout_info->colorset}/btn_mini_logout.gif" alt="로그아웃" title="로그아웃" class="bul" /></a></li>
				<li class="bar">|</li>
                <li class="pointer"><span onmouseover="divDisplay('1','true')" onmouseout="divDisplay('1','false')">마이페이지 <img id="arrow1" src="/images/button/btn_mini_off.gif" alt="" class="bul"></span></li>
				<!--@else-->
				<li><a href="{getUrl('act','dispMemberLoginForm')}"><img src="./images/{$layout_info->colorset}/btn_mini_login.gif" alt="로그인" title="로그인" class="bul" /></a></li>
				<!--@end-->
				<!--@if(!$logged_info)-->
				<li><a href="{getUrl('act','dispMemberSignUpForm')}" title="회원가입">회원가입</a></li>
				<!--@end-->
                <li class="bar">|</li>
				<li><a href="/customer" title="고객센터">고객센터</a></li>
                <li class="bar">|</li>
				<li><a href="/sitemap" title="전체보기">전체보기</a></li>
                <li class="bar">|</li>
				<li><a href="javascript:bookmarksite('웹미니 - 웹속에 작은 공간', 'http://www.webmini.net')">즐겨찾기 추가</a></li>
			</ul>

            <!-- 미니메뉴 -->
            <div id="minimenu1" onmouseover="divDisplay('1','true')" onmouseout="divDisplay('1','false')">
                <ul>
                    <li><a href="{getUrl('act','dispMemberInfo')}">회원정보</a></li>
                    <li><a href="{getUrl('act','dispMemberScrappedDocument')}">스크랩보기</a></li>
                    <li><a href="{getUrl('act','dispMemberSavedDocument')}">저장함</a></li>
                    <li><a href="{getUrl('act','dispMemberOwnDocument')}">작성글보기</a></li>
                    <li><a href="{getUrl('act','dispCommunicationFriend')}">친구보기</a></li>
                    <li><a href="{getUrl('act','dispCommunicationMessages')}">쪽지함</a></li>
                </ul>
            </div>
            <!--// 미니메뉴 -->
		</div>

        <div id="language">
            <strong title="{$lang_type}">{$lang_supported[$lang_type]}</strong> <a href="#selectLang" onclick="showHide('selectLang');return false;"><img src="./images/{$layout_info->colorset}/buttonLang.gif" alt="Select Language" width="87" height="15" /></a>
            <ul id="selectLang">
                <!--@foreach($lang_supported as $key => $val)--><!--@if($key!= $lang_type)-->
                <li><a href="#" onclick="doChangeLangType('{$key}');return false;">{$val}</a></li>
                <!--@end--><!--@end-->
            </ul>
        </div>

        <!-- GNB -->
        <ul id="gnb">
            <!-- main_menu 1차 시작 -->
            <!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
                <!--@if($val['selected'])-->
                    {@ $menu_1st = $val }
                <!--@end-->

                <li <!--@if($val['selected'])-->class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a></li>

            <!--@endif--><!--@endforeach-->
        </ul>

    <form action="{getUrl()}" method="post" id="isSearch">
	<!--@if($vid)-->
	<input type="hidden" name="vid" value="{$vid}" />
	<!--@end-->
	<input type="hidden" name="mid" value="search" />    
	<input type="hidden" name="act" value="IS" />
    <input type="hidden" name="search_target" value="title_content" />
    <input name="is_keyword" value="{$is_keyword}" type="text" class="inputText" title="검색어 입력" />
    <input type="image" src="./images/{$layout_info->colorset}/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit" />
    </form>
<p id="search_se"><img src="./images/{$layout_info->colorset}/icon_zoom.gif" alt="검색창" /></a></p>

    </div>
    <div id="contentBody">
        <div id="columnLeft">

            <!-- 로그인 위젯 -->
            <img class="zbxe_widget_output" widget="orange_login_info" skin="default" colorset="orange" display_pointstatus="Y" />
            <img class="zbxe_widget_output" widget="orange_point_status" skin="default" colorset="orange" display_logininfo="Y" display_detail="N" />

			<!-- 왼쪽 2차 메뉴 -->
			<img src="./images/blank.gif" alt="" class="mask" />
			<!--@if($menu_1st)-->
			<div id="lnbWrap">
				<img src="./images/default/lnb_bg_t.gif" alt="" />
				<ol id="lnb">
					{@ $idx = 1 }
					<!--@foreach($menu_1st['list'] as $key => $val)--><!--@if($val['link'])-->
					<li <!--@if($val['selected'])-->
					class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$val['link']}</a>

					<!-- main_menu 3차 시작 -->
					<!--@if($val['list'] && ($val['expand']=='Y'||$val['selected']) )-->
					<ul>
						<!--@foreach($val['list'] as $k => $v)--><!--@if($v['link'])-->
						<li <!--@if($v['selected'])-->class="on"<!--@end-->><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$v['link']}</a></li>
						<!--@end--><!--@end-->
					</ul>
					<!--@end-->
					</li>
					{@$idx++}
					<!--@end--><!--@end-->
				</ol>
				<img src="./images/default/lnb_bg_b.gif" alt="" />
			</div>
			<!--@end-->

			<!-- RSS 아이콘 -->
			<div id="rsswrap">
				<a href="/rss" class="rss_icon">
				Subscribe to <abbr title="Really Simple Syndication">RSS</abbr> articles
				</a>
			</div>

		</div>
		<div id="columnRight">
			<!-- 컨텐츠 시작 -->
            {$content}

        </div>
    </div>
    	<div id="footer">
		<ul>
			<!--@foreach($bottom_menu->list as $key => $val)-->
			<li><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$val['link']}</a></li>
			<!--@end-->
		</ul>
		<p>본 사이트에서는 회원분들의 게시된 이메일 주소가 무단으로 수집되는 것을 거부합니다.
		아기넷에 게시된 정보 및 게시물의 저작권과 기타 법적 책임은 자료제공자에게 있습니다.</p>
		<address>
		Copyright ⓒ <a href="/" title="aginet.kr">AGINET.kr.</a> All Rights Reserved.
		</address>
	</div>
</div>